package com.qiyadeng.thread;

public class WaitThread implements Runnable{

	MyWaitNotify waitNotify = null;
	
	public WaitThread(){};
	
	public WaitThread(MyWaitNotify myWaitNotify){
		this.waitNotify = myWaitNotify;
	}
	
	@Override
	public void run() {
		waitNotify.doWait();
	}

}
